<layout name='layout_page' />

<div class="row">
	<div class="col-lg-12">
		<div class="row">
			<div class="col-lg-12">
				<ol class="breadcrumb">
					<li><a href="<{:U('Index/index')}>">Home</a></li>
					<li>Message</li>
					<li class="active"><span>Email</span></li>
				</ol>
				<h1>Email</h1>
			</div>
		</div>

		<div class="row">
			<div class="col-lg-12">
				<div class="main-box clearfix">
					<div class="email-detail-nano-content">
						<div id="email-detail-inner">
							<div id="email-detail-subject" class="clearfix"> <span class="subject"><{$list['title']}></span></div>
							<div id="email-detail-sender" class="clearfix">
								<div class="picture hidden-xs"> <img src="<{$list['fromFace']|getFace=###}>" alt=""> </div>
								<div class="users">
									<div class="from clearfix">
										<div class="name"> To: <span><{$list['toName']}></span> </div>
									</div>
									<div class="to"> <{$list['fromName']}> </div>
								</div>
								<div class="tools">
									<div class="date"> <{$list['createTime']|date="Y/m/d H:i:s",###}> </div>
								</div>
							</div>
							<div id="email-body">
								<{$list['content']}>
							</div>
							<div class="btns">	
								<a href="<{:U('Message/delsend',array('id'=>$list['id']))}>" class="btn btn-danger" onClick="if(!confirm('Cannot be recovered after deletion!'))return false;"><i class="fa fa-trash-o"></i> Delete</a>		
							</div>
							<p></p>
						</div>
					</div>

				</div>
			</div>
		</div>

	</div>
</div>